﻿

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using KDS.Mes.Mes.TestSlides.Dtos;
using KDS.Mes.Dto;

namespace KDS.Mes.Mes.TestSlides
{
    /// <summary>
    /// 滑道检测数据表服务接口
    /// </summary>
    public interface ITestSlideAppService : IApplicationService
    {
        #region 滑道检测数据表管理

        PagedResultDto<TestSlideListDto> GetPagedTestSlides(GetTestSlideInput input);

        /// <summary>
        /// 根据查询条件获取滑道检测数据表分页列表
        /// </summary>
        Task<PagedResultDto<TestSlideListDto>> GetPagedTestSlidesAsync(GetTestSlideInput input);

        /// <summary>
        /// 通过Id获取滑道检测数据表信息进行编辑或修改 
        /// </summary>
        Task<GetTestSlideForEditOutput> GetTestSlideForEditAsync(NullableIdDto<int> input);

        /// <summary>
        /// 通过指定id获取滑道检测数据表ListDto信息
        /// </summary>
        Task<TestSlideListDto> GetTestSlideByIdAsync(EntityDto<int> input);



        /// <summary>
        /// 新增或更改滑道检测数据表
        /// </summary>
        Task CreateOrUpdateTestSlideAsync(CreateOrUpdateTestSlideInput input);





        /// <summary>
        /// 新增滑道检测数据表
        /// </summary>
        Task<TestSlideEditDto> CreateTestSlideAsync(TestSlideEditDto input);

        /// <summary>
        /// 更新滑道检测数据表
        /// </summary>
        Task UpdateTestSlideAsync(TestSlideEditDto input);

        /// <summary>
        /// 删除滑道检测数据表
        /// </summary>
        Task DeleteTestSlideAsync(EntityDto<int> input);

        /// <summary>
        /// 批量删除滑道检测数据表
        /// </summary>
        Task BatchDeleteTestSlideAsync(List<int> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取滑道检测数据表信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetTestSlideToExcel(GetTestSlideInput input);

        #endregion





    }
}
